package com.lzs.adx.web.modules.adx.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 汇总统计表
 *
 * @author wangzhijun 825400558@qq.com
 * @since 1.0.0 2024-09-10
 */
@Data
@ApiModel(value = "汇总统计表")
@ContentRowHeight(100)
@ColumnWidth(100 / 8)
public class TotalStatisticsDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主建ID")
	@ExcelIgnore
	private Long id;

	@ApiModelProperty(value = "产品")
	@ExcelProperty("产品")
	private String product;

	@ApiModelProperty(value = "产品编码")
	@ExcelProperty("产品编码")
	private String productCode;

	@ApiModelProperty(value = "甲方渠道名称")
	@ExcelProperty("甲方渠道名称")
	private String partyChannel;

	@ApiModelProperty(value = "乙方渠道名称")
	@ExcelProperty("乙方渠道名称")
	private String secondChannel;

	@ApiModelProperty(value = "利润")
	@ExcelProperty("利润")
	private BigDecimal profit;

	@ApiModelProperty(value = "执行商务")
	@ExcelProperty("执行商务")
	private String directBusiness;

	@ApiModelProperty(value = "执行商务利润")
	@ExcelIgnore
	private BigDecimal directBusinessProfit;

	@ApiModelProperty(value = "对接商务")
	@ExcelProperty("对接商务")
	private String joinBusiness;

	@ApiModelProperty(value = "对接商务利润")
	@ExcelIgnore
	private BigDecimal joinBusinessProfit;

	@ApiModelProperty(value = "运营")
	@ExcelProperty("运营")
	private String operate;

	@ApiModelProperty(value = "运营利润")
	@ExcelIgnore
	private BigDecimal operateProfit;

	@ApiModelProperty(value = "日期")
	@ExcelProperty("日期")
	private String day;

	@ApiModelProperty(value = "月份")
	@ExcelIgnore
	private String month;

	@ApiModelProperty(value = "创建时间")
	@ExcelIgnore
	private Date createTime;

	@ApiModelProperty(value = "更新时间")
	@ExcelIgnore
	private Date updateTime;

	@ApiModelProperty(value = "业务类型（1广告业务，2贷款业务）")
	@ExcelProperty("业务类型（1广告业务，2贷款业务）")
	private String type;

	private Long userId;


	/**
	 * 乙方渠道
	 */
	@ApiModelProperty(value = "乙方渠道")
	private String channel;

	/**
	 * 转化数量
	 */
	@ApiModelProperty(value = "转化数量")
	private BigDecimal resultNumber;

	/**
	 * 甲方单价
	 */
	@ApiModelProperty(value = "甲方单价")
	private BigDecimal partyPrice;

	/**
	 * 甲方单价
	 */
	@ApiModelProperty(value = "甲方单价")
	private BigDecimal partySetter;

	/**
	 * 渠道单价
	 */
	@ApiModelProperty(value = "渠道单价")
	private BigDecimal secondPrice;

	/**
	 * 乙方结算
	 */
	@ApiModelProperty(value = "乙方结算")
	private BigDecimal secondSetter;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;

}